package com.xianzhi.dao.web;

import com.xianzhi.dao.AdminDao;
import com.xianzhi.service.AdminService;

public class AdminAction {
//    private AdminDao adminDao;
////
////    public void setAdminDao(AdminDao adminDao) {
////        this.adminDao = adminDao;
////    }
    private AdminService service;

    public void setService(AdminService service) {
        this.service = service;
    }

    public String execute(){
       service.getByid("1");
        return "sucess";
    }
}
